package com.api.shopapi.service;

import com.api.shopapi.entity.ActivityContent;
import com.api.shopapi.entity.ActivityItem;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityContentService {


    int insert(ActivityContent activityContent);


    int delete(String activityContentCode);


    int update(ActivityContent activityContent);

    ActivityContent getByActivityContentCode(String activityContentCode);

    List<ActivityContent> ListByActivityItemCode(String activityItemCode);

    PageInfo<ActivityContent> pageByCommandCenterCode(int pageIndex, int pageSize,
                                                   String commandCenterCode,
                                                   String activityTypeCode,String activityItemCode);

}
